package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.PatientSource;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.patientsource.PatientSourceAddReqDTO;
import com.yixin.hospital.entity.dto.req.patientsource.PatientSourceEditReqDTO;

import javax.validation.Valid;

/**
* @author Administrator
* @description 针对表【patient_source(患者来源表)】的数据库操作Service
* @createDate 2024-04-25 15:41:24
*/
public interface PatientSourceService extends IService<PatientSource> {

    ApiResult add(@Valid PatientSourceAddReqDTO patientSourceAddReqDTO, String userName);

    ApiResult edit(@Valid PatientSourceEditReqDTO patientSourceEditReqDTO, String userName);
}
